<template>
  <div class="card-container">
    <div class="title">{{ title }}</div>

    <div class="content-container">
      <slot />
    </div>
  </div>
</template>

<script>
export default {
  props: {
    // title
    title: {
      type: String,
      default: () => '',
    },
  },
}
</script>

<style lang="scss" scoped>
.card-container {
  // width: 65%;
  // background-color: $white-1;
  // margin: 0 auto;
  .title {
    // text-align: center;
    font-weight: bold;
    font-size: $font-size-md;
    margin-bottom: $margin-xs;
    color: $black;
    // border-bottom: 1px solid $gray-10;
  }
  .content-container {
    // padding: $padding-sm;
    // display: flex;
    // flex-direction: column;
  }
}
</style>
